package com.itheima.sh.a_break_01.b_random02;

import java.util.Random;

public class RandomDemo01_1 {
    public static void main(String[] args) {
        Random r= new Random();
        int number= r.nextInt(10);
        System.out.println(number);
    }
}
